package com.charger.chargingStation.service;

import java.util.List;
import com.charger.chargingStation.domain.Chargingstation;

/**
 * 充电站点Service接口
 *  Lilysi到此一游
 * @author charger1
 * @date 2024-11-22
 */
public interface IChargingstationService 
{
    /**
     * 查询充电站点
     * 
     * @param chargingstationId 充电站点主键
     * @return 充电站点
     */
    public Chargingstation selectChargingstationByChargingstationId(Long chargingstationId);

    /**
     * 查询充电站点列表
     * 
     * @param chargingstation 充电站点
     * @return 充电站点集合
     */
    public List<Chargingstation> selectChargingstationList(Chargingstation chargingstation);

    /**
     * 新增充电站点
     * 
     * @param chargingstation 充电站点
     * @return 结果
     */
    public int insertChargingstation(Chargingstation chargingstation);

    /**
     * 修改充电站点
     * 
     * @param chargingstation 充电站点
     * @return 结果
     */
    public int updateChargingstation(Chargingstation chargingstation);

    /**
     * 批量删除充电站点
     * 
     * @param chargingstationIds 需要删除的充电站点主键集合
     * @return 结果
     */
    public int deleteChargingstationByChargingstationIds(Long[] chargingstationIds);

    /**
     * 删除充电站点信息
     * 
     * @param chargingstationId 充电站点主键
     * @return 结果
     */
    public int deleteChargingstationByChargingstationId(Long chargingstationId);
    public List<Chargingstation> selectById(Long Id);
}
